Skip to content

[tests] Fix cppia inheritance test - #1272

Merged
Simn merged 2 commits into
HaxeFoundation:masterfrom
tobil4sk:run-cppia-inheritance-test
Jan 7, 2026
Merged

[tests] Fix cppia inheritance test#1272
Simn merged 2 commits into
HaxeFoundation:masterfrom
tobil4sk:run-cppia-inheritance-test

Conversation

@tobil4sk

Copy link
Copy Markdown
Member

This test wasn't running because it is only enabled for haxe >= 4.3.7 and we were on haxe 4.3.4, and also it wasn't running properly because HostExtendedRoot was not part of the host. See: #1154 (comment)

@tobil4sk

tobil4sk commented Nov 26, 2025

Copy link
Copy Markdown
Member Author

Seems like it worked fine with 4.3.7 but there was a regression at some point in haxe development.

UPDATE: Seems like it's caused by: HaxeFoundation/haxe#12377

@tobil4sk
tobil4sk force-pushed the run-cppia-inheritance-test branch from 34bcc83 to 1b80062 Compare January 7, 2026 10:58
@tobil4sk

tobil4sk commented Jan 7, 2026

Copy link
Copy Markdown
Member Author

@Simn This is the final one in the series of cppia override PRs.

This test should have caught the regression fixed by #1273 and HaxeFoundation/haxe#12413. However, the client/host hierarchy wasn't set up correctly, so the test passed despite the regression.

This PR fixes it so the correct classes are included in the host, which means the test will fail as expected if there is ever a future regression (for example, it was failing with unpatched haxe 5 nightly).

@Aidan63 just to let you know as well, since this was a test you added.

@Simn
Simn merged commit e4d10ad into HaxeFoundation:master Jan 7, 2026
120 checks passed
@tobil4sk
tobil4sk deleted the run-cppia-inheritance-test branch January 7, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants